package com.sasis.webapp.dwr;

import com.sasis.model.FlightAdjustFood;
import com.sasis.service.FlightAdjustFoodManager;

public class FlightAdjustFoodRemote {
	private FlightAdjustFoodManager flightAdjustFoodManager;

	public void setFlightAdjustFoodManager(FlightAdjustFoodManager flightAdjustFoodManager) {
		this.flightAdjustFoodManager = flightAdjustFoodManager;
	}

	public boolean deleteFood(String[] ids) {
		FlightAdjustFood food = new FlightAdjustFood();
		if (null != ids && 0 != ids.length) {
			food.setIds(ids);
			flightAdjustFoodManager.removeFlightAdjustFood(food);
		}
		return true;

	}

}
